export default {
  namespaced: true,
  state: {
    index: 0,
    token: "",
  },
  mutations: {
    changeIndex(state, payload) {
      state.index = payload;
    },
    changeToken(state, payload) {
      console.log(payload);
      state.token = payload;
    },
  },
};
